package com.kgdev.cweb.entities.pub;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import com.kgdev.cweb.entities.ManagedEntity;


/**
 * The persistent class for the sys_order_status database table.
 * 
 */
@Entity
@NamedQueries(value = {
		@NamedQuery(name = "OrderStatus.findAll", query = "select o from OrderStatus o")})
@Table(name="pub_order_status")
public class OrderStatus implements Serializable, ManagedEntity {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true, nullable=false, length=45)
	private String status;
	
	@Column(name="description")
	private String description;

    public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public OrderStatus() {
    }
    
    public OrderStatus(String status) {
    	this.status = status;
    }

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}